<div class="listCon" id="middleListContent">
    <ul class="clearfix content">
        {% if data.videoData.list.length>0 %}
        {% for item in data.videoData.list %}
        <li>
            <a  target="_blank" href="/{{item.id}}/online_content.html">
                <div class="listConLeft
                {% if item|isBroadcast %} video-icon-openIs
                {%else%}
                    {% if item.adVideoUrl %} video-icon {% endif %}
                {%endif%}">
                    <img class="content-img" src="{{item.cover|imgPath}}">
                </div>
                <div class="listConRight">
                    <h3 class="title clo3">
                        {{item.name}}
                    </h3>
                    <div class="desc">
                        {%if item|showIs %}
                        <span class="listIcon listIcon2">开班中</span>
                        {% endif %}
                        {% if item.openIs %}
                        <i class="listIcon mr10">公开课</i>
                        {% endif %}
                        <span class="red">
                            {% if item.price>0 or item.gold>0 %}
                              {% if item.price>0 %}
                              &yen;{{item.price}}
                              {% endif %}
                              {% if item.price>0 and item.gold>0 %}/{% endif %}
                              {% if item.gold>0 %}
                              金币{{item.gold}}
                              {% endif %}
                            {% else %}
                            <span class="green">免费</span>
                            {% endif %}
                        </span>
                        {%if item.nickName%}
                        · 主讲人：<a href="/{{item.memberId}}/userInfo.html" target="_blank">{{item.nickName}}</a>
                        {%endif%}
                    </div>
                </div>
            </a>
        </li>
        {% endfor %}
        {% else %}
        <li class="no-data">
            {% include '__no_data.html' %}
        </li>
        {% endif %}
    </ul>
    <script id="middleListContent_tpl" type="text/html">
        <% each data as item i%>
        <li>
            <a  target="_blank" href="/<%item.id%>/online_content.html">
                <div class="listConLeft
                <%if isBroadcast(item) %> video-icon-openIs
                <%else%>
                    <% if item.adVideoUrl %> video-icon <% /if %>
                <%/if%>">
                    <img class="content-img" src="<%=imgPath(item.cover)%>">
                </div>
                <div class="listConRight">
                    <h3 class="title clo3">
                        <%item.name%>
                    </h3>
                    <div class="desc">
                        <%if showIs(item) %>
                        <span class="listIcon listIcon2">开班中</span>
                        <%/if%>
                        <% if item.openIs %>
                        <i class="listIcon mr10">公开课</i>
                        <% /if %>
                        <span class="red">
                            <% if item.price || item.gold %>
                            &yen;<%item.price%>
                                <% if item.gold %>
                                / 金币<%item.gold%>
                                <%/if %>
                            <% else %>
                             <span class="green">免费</span>
                            <%/if %>
                        </span>
                        <%if item.nickName%>
                        · 主讲人：<a href="/<%item.memberId%>/userInfo.html" target="_blank"><%item.nickName%></a>
                        <%/if%>
                    </div>
                </div>
            </a>
        </li>
        <%/each%>
    </script>
    <div class="loading">正在加载中...</div>
    <div class="nomore-data">---到底了---</div>
</div>